<script setup lang="ts">
import { useStuctureStore } from "./stucture/store.ts";

const stuctureStore = useStuctureStore();

onMounted(stuctureStore.get_stucture);
</script>

<template>
  <div class="p-2">
    <div class="w-full h-10 flex justify-between">
      <div>
        <Add type="add" />
      </div>
      <div>
        <Del_dialog/>
        <Add type="edit" />
      </div>
    </div>
    <div>
      <Tb />
    </div>
    <div class="text-[14px] text-gray-500 p-2">
      组织结构必须只能有一个最顶级的，ID必须为1，且不允许删除
    </div>
  </div>
</template>

<style scoped></style>
